using System;
using System.Collections.Generic;
using System.Text;

namespace SysCommon.Entity.Business.DCS.View
{
    [Serializable]
    public class View_DangerPlan_EtyEx
    {
        View_DangerPlan_Ety plan;
        View_Escort_Ety[] escorts;
        Human.View.View_Driver_Ety[] drivers;

        public View_DangerPlan_EtyEx()
        { }

        public View_DangerPlan_EtyEx(View_DangerPlan_Ety plan, Human.View.View_Driver_Ety[] drivers, View_Escort_Ety[] escorts)
        {
            this.plan = plan;

            if (drivers == null)
                drivers = new SysCommon.Entity.Human.View.View_Driver_Ety[0];
            this.drivers = drivers;

            if (escorts == null)
                escorts = new View_Escort_Ety[0];
            this.escorts = escorts;
        }

        public virtual View_DangerPlan_Ety PLAN
        {
            get { return plan; }
            set { plan = value; }
        }

        public virtual Human.View.View_Driver_Ety[] DRIVERS
        {
            get { return drivers; }
            set { drivers = value; }
        }

        public virtual View_Escort_Ety[] ESCORTS
        {
            get { return escorts; }
            set { escorts = value; }
        }
    }
}
